package cn.duxiaod.demo.reflection;

public class TagetObject {
    private String value;
    static {
        System.out.println("静态代码块");
    }
    public TagetObject(){
        System.out.println("无参数构造方法");
        this.value = "wangwu";
    }

    public void publicMethod(String value){
        System.out.println("I am " + value);
    }

    private void privateMethod(){
        System.out.println("value is " + value);
    }
}
